package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 优惠券与产品关联
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:35
 */
@TableName("coupon_spu_relation")
public class CouponSpuRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 优惠券id
	 */
	private Long couponId;
	/**
	 * spu_id
	 */
	private Long spuId;
	/**
	 * spu_name
	 */
	private String spuName;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 优惠券id
	 */
    public void setCouponId(Long couponId){
        this.couponId = couponId;
    }
    /**
	 * get 优惠券id
	 */
    public Long getCouponId(){
        return this.couponId;
    }
	/**
	 * set spu_id
	 */
    public void setSpuId(Long spuId){
        this.spuId = spuId;
    }
    /**
	 * get spu_id
	 */
    public Long getSpuId(){
        return this.spuId;
    }
	/**
	 * set spu_name
	 */
    public void setSpuName(String spuName){
        this.spuName = spuName;
    }
    /**
	 * get spu_name
	 */
    public String getSpuName(){
        return this.spuName;
    }

}
